package net.wanho.personalOffice.service.impl;

import net.wanho.commons.exception.ServiceException;
import net.wanho.commons.service.impl.BaseServiceImpl;
import net.wanho.personalOffice.dao.MailDAO;
import net.wanho.personalOffice.po.InstationMail;
import net.wanho.personalOffice.service.MailService;
import net.wanho.systemSettings.dao.EmployeeDAO;
import net.wanho.systemSettings.po.Employee;

import java.util.List;


public class MailServiceImpl extends BaseServiceImpl<MailDAO, InstationMail> implements MailService {
    private EmployeeDAO employeeDAO;

    @Override
    public List<Employee> findEmployee() throws ServiceException {
        return employeeDAO.selectAll();
    }
}
